import http from '@/assets/js/http';

// 登录
export const codeLogin = (data) => {
  return http.post('/api/user/login', data)
}

// 退出登录
export const loginOut = (data) => {
  return http.post('/api/user/logout', data);
}

// 热门搜索关键词
export const hotSearch = (data) => {
  return http.post('/api/school/hotSearch', data);
}
